popover: Add a contents node
authorTimm Bäder <mail@baedert.org>
Sat, 8 Jul 2017 10:04:44 +0000 (12:04 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 20 Jul 2017 01:27:15 +0000 (21:27 -0400)
commitf637006b3ec633d8b6a22c70b2b19fa711ae1575
tree26ca4186309d342d9b25b613bf4c474e01274701
parent097ab2baed1e5cc77956cdb12c13c0b2933fe50e
popover: Add a contents node

Remove the special case in gtkwidget.c where we didn't draw any css
background/border for popovers. Instead, rely on themes to not style the
popover node and add a contents gizmo that gets the actual css styling.
We then requeste enough space for the popover to draw both the contents
and the arrow on the side.
gtk/gtkpopover.c
gtk/gtkpopovermenu.c
gtk/gtkpopoverprivate.h
gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css